package org.site.group;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="GROUP_TABLE")
public class groupBean implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private Integer groupId;
	private String groupCatalog;
	private String groupName;
	private String groupProvince;
	private Integer groupZipcode;
	private String groupDescription;
	private String groupWebaddress;

	public groupBean() {
	}

	public groupBean(String groupCatalog, String groupName, String groupProvince, Integer groupZipcode, String groupDescription) {
		this.groupCatalog = groupCatalog;
		this.groupName = groupName;
		this.groupProvince = groupProvince;
		this.groupZipcode = groupZipcode;
		this.groupDescription = groupDescription;
	}
	@Id
	@GeneratedValue(generator="GROUP_ID")
	@GenericGenerator(name="GROUP_ID", strategy = "increment")
	@Column(name="GROUP_ID")
	public Integer getgroupId() {
		return this.groupId;
	}
	public void setgroupId(Integer groupId) {
		this.groupId = groupId;
	}
	
	@Column(name="GROUP_NAME")
	public String getgroupName() {
		return this.groupName;
	}
	public void setgroupName(String groupName) {
		this.groupName = groupName;
	}
	/*
	@Column(name="GROUP_CATALOG")
	public String getgroupCatalog() {
		return this.groupCatalog;
	}
	public void setgroupCatalog(String groupCatalog) {
		this.groupCatalog = groupCatalog;
	}
	
	@Column(name="GROUP_PROVINCE")
	public String getgroupProvince() {
		return this.groupProvince;
	}
	public void setgroupProvince(String groupProvince) {
		this.groupProvince = groupProvince;
	}

	@Column(name="GROUP_ZIPCODE")
	public Integer getgroupZipcode() {
		return this.groupZipcode;
	}
	public void setgroupZipcode(Integer groupZipcode) {
		this.groupZipcode = groupZipcode;
	}

	@Column(name="GROUP_DESCRIPTION")
	public String getgroupDescription() {
		return this.groupDescription;
	}
	public void setgroupDescription(String groupDescription) {
		this.groupDescription = groupDescription;
	}
	
	@Column(name="GROUP_WEBADDRESS")
	public String getgroupWebaddress() {
		return this.groupWebaddress;
	}
	public void setgroupWebaddress(String groupWebaddress) {
		this.groupWebaddress = groupWebaddress;
	}
*/
}

